var express = require('express');
var proxy = require('http-proxy-middleware');

var app = express();

// app.use('/api', proxy({target: 'http://127.0.0.1:1017', changeOrigin: true}));
app.use(proxy({target: 'http://127.0.0.1:1017', changeOrigin: true}));
app.listen(3000);